package com.ktjy.crm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ktjy.crm.entity.User;

import java.util.HashMap;

public interface IUserService {
    User login(String username, String password);
    int addUser(User user);
    int updateUser(User user);
    int deleteUser(Long id);
    User getUserById(Long id);
    public IPage<User> getUserPage(HashMap<String, Object>hashMap);
}
